//init data config
//资源server
var serverUrl = 'http://219.239.146.221:8008/PPT/';

//图片轮播
for(var i=0; i<slider.length; i++){
	slider[i].image = serverUrl + sliderName+ '/' +slider[i].image;
}


//init angular
var myapp = angular.module('app', ['ui.bootstrap', 'ngAnimate']);

myapp.controller('CarouselDemoCtrl', ['$scope',function($scope) {
		$scope.myInterval = 3000;	
		$scope.slides = slider;
	}
])